package com.maple.sdk.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;



/**
 * @Description  TSystemUser entity.
 * @author 李铭浩
 * @Date 2012-11-4
 * @Porject  BasicRole
 */
@Entity
@Table(name="T_SYSTEM_USER")
@SuppressWarnings("serial")
public class TSystemUser extends BaseEntity {

	private Long toId;
	private String loginName;
	private String password;
	private String username;
	private String mobile;
	private String email;
	private Date genTime;
	private Date loginTime;
	private Date lastLoginTime;
	private Long count;

	/** default constructor */
	public TSystemUser() {
	}

	/** full constructor */
	public TSystemUser(Long toId, String loginName, String password,
			String username, String mobile, String email, Date genTime,
			Date loginTime, Date lastLoginTime, Long count) {
		this.toId = toId;
		this.loginName = loginName;
		this.password = password;
		this.username = username;
		this.mobile = mobile;
		this.email = email;
		this.genTime = genTime;
		this.loginTime = loginTime;
		this.lastLoginTime = lastLoginTime;
		this.count = count;
	}
	@Column(name="TO_ID")
	public Long getToId() {
		return this.toId;
	}

	public void setToId(Long toId) {
		this.toId = toId;
	}
	@Column(name="LOGIN_NAME")
	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	@Column(name="PASSWORD")
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	@Column(name="USERNAME")
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	@Column(name="MOBILE")
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	@Column(name="EMAIL")
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	@Column(name="GEN_TIME")
	public Date getGenTime() {
		return this.genTime;
	}

	public void setGenTime(Date genTime) {
		this.genTime = genTime;
	}
	@Column(name="LOGIN_TIME")
	public Date getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	@Column(name="LAST_LOGIN_TIME")
	public Date getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	@Column(name="COUNT")
	public Long getCount() {
		return this.count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

}